
##
## Makefile for Project in /home/marion_v//Project/my_printf
##
## Made by vincent marioni
## Login   <marion_v@epitech.net>
##
## Started on  Sun Nov 21 21:33:09 2010 vincent marioni
## Last update Sat Mar  3 03:44:30 2012 vincent marioni
##

NAME	= 	Alum-1

SRC	= 	main.c		\
		# main.c		\
		# rm_alum.c	\
		# my/my_getnbr.c	\
		# my/my_strlen.c	\
		# my/my_strcpy.c	\
		# my/my_strcmp.c	\
		# xlib/xread.c	\
		# xlib/xwrite.c	\
		# xlib/xmalloc.c

CC	=	cc

OBJ	= 	$(SRC:.c=.o)

RM	= 	rm -f *~ *.o

CLEAN	= 	clean

CFLAGS	+= 	-I -W -Wall

LDFLAGS	+=	`sdl-config --cflags --libs` -lSDL_image
##-L. libmy_printf_i686-Linux.a


all	: $(OBJ)
	$(CC) $(LDFLAGS) -o $(NAME) $(OBJ)

clean	:
	$(RM) $(CLEAN)

fclean	: clean
	$(RM) $(NAME)

re	: fclean all